Gauss's Law
In this section, we will explore Gauss's Law, a fundamental law of electrostatics that is used to calculate electric fields. It is often much easier to use Gauss's Law than to calculate electric fields directly with Coulomb's Law, especially in situations with high symmetry.
Table of Contents
Electric Flux
I discussed the concept of flux in the Math section, where we talked about the flux of a vector field through a surface. Hence, this is just a review of that concept.
In the context of electrostatics, we are interested in the electric flux through a surface.
The electric flux through a surface is defined as the electric field passing through the surface, weighted by the area of the surface. It can be thought of using a fluid analogy; the field lines are like a fluid, and the flux is the amount of fluid passing through the surface per unit area. Alternatively, consider the electric field as a light source, and the flux is the amount of light passing through the surface.
The electric flux
where
Gauss's Law
Consider a sphere of radius
We know, from Coulomb's Law, that on any point on the sphere, the electric field is given by:
Integral Form
We want to calculate the electric flux through the sphere.
The key point is that since the electric field is constant, we can bring
Now, imagine that instead of a sphere, we have a surface of any shape. Each patch on the sphere corresponds to a patch on the new surface. This new patch on the surface will have a different distance and area.
Now, notice that as the distance from the patch to the charge increases, (1) the electric field decreases by
As such, for any surface enclosing a charge, the electric flux through the surface is
Gauss's Law, Integral Form: For any closed surface
For charges outside the surface, the flux through the surface is zero. The reason for this is that while the field lines pass through the surface, eventually the same amount of field lines will also exit the surface. Hence, the flux from each time a field line enters the surface is canceled out by the flux from each time a field line exits the surface. So the total flux is zero.
Differential Form
The integral form of Gauss's Law is useful for calculating the electric field for surfaces. We can also use an equivalent form of Gauss's Law to describe the electric field at a single point.
We can imagine slowly shrinking the surface
The left-hand side is known as the divergence of the electric field, denoted
Gauss's Law, Differential Form: For any volume
What we've done here is known as the Divergence Theorem, which, more generally, states:
(The Divergence Theorem should make a lot of intuitive sense. The divergence of a vector field is essentially the flux per unit volume. Wouldn't it make sense that the total flux through a surface is equal to the flux per unit volume integrated over the volume? It's essentially analogous to saying that the displacement of an object is the velocity integrated over time.)
Deriving the Differential Form Directly
We can also derive the differential form of Gauss's Law directly from the definition of the electric field.
We know that the electric field is given by:
Where the subscript
Taking the divergence of this expression, we get:
We know that the divergence of
So the divergence is zero, right?
Not quite. Cancel out the
Let's see how we can use another method to calculate the divergence at
Then, the Divergence Theorem states:
We can calculate the left-hand side by considering a sphere of radius
Hence, the divergence of
We will need to be a bit more precise with notation.
Denote
Rewriting this with the Dirac delta function
Note that
Going back to the expression for the electric field:
We need to use a property of the Dirac delta function:
(This only applies when the integral is over the entire space. This is fine for our purposes, since outside of the charge distribution, the charge density is zero, so the integrand is zero.
Also, you can derive this property by first considering it in 1D by considering the value of
Then, the divergence of the electric field is:
Which is the differential form of Gauss's Law.